package com.kob.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: backend
 * @description:
 * @author: mqf
 * @create: 2023-06-04 12:12
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPacket {
    @TableId(type = IdType.AUTO)//实现id自增
    private Integer id;
    @TableField(value = "以太帧首部")
    private String EthHeader;
    @TableField(value = "源MAC地址")
    private String SMac;
    @TableField(value = "目的MAC地址")
    private String DMac;
    @TableField(value = "帧类型")
    private String FrameType;
    @TableField(value = "TCP首部")
    private String TCPHeader;
    @TableField(value = "标志位DF")
    private String DF;
    @TableField(value = "标志位MF")
    private String MF;
    @TableField(value = "offset")
    private String Offset;
    @TableField(value = "ident")
    private String Ident;
    @TableField(value = "src_port")
    private String SPort;
    @TableField(value = "dst_port")
    private String DPort;
    @TableField(value = "seq序号")
    private String seq;
    @TableField(value = "窗口大小window")
    private String window;
    @TableField(value = "ack")
    private String ack;
    @TableField(value = "TCP报文长度")
    private String TCPLength;



}
